from brian import *
from brian.library.random_processes import *
from brian.library.synapses import  *
#set_global_preferences(useweave=True,usecodegenweave = True)
import mydata as  mydat

class ICVars(mydat.globVars):
    
    #glint=(0.51*msiemens*cm**-2)*super.area
    #El= 57.5 fuer Inrg
    vinit=-64
    DUR=200
    El=-57.5*mV
    gsynapse=50*uS*cm**-2*mydat.globVars.area
    def __init__(self):
        self.DUR2=3*self.DUR
        #self.gkint=(100*msiemens*cm**-2)*self.area
        #self.glint=(0.51*msiemens*cm**-2)*self.area
        #self.gnaint=(120*msiemens*cm**-2)*self.area
        self.gk=(100*msiemens*cm**-2)*self.area 
        self.gl=(0.51*msiemens*cm**-2)*self.area #
        self.gna=(120*msiemens*cm**-2)*self.area
        self.gsynapse=50*uS*cm**-2*self.area
    
    
    
